require 'fileutils'
module Configurator
  def load_config
    YAML.load_file(File.join("config","configuration.yml"))
  end
  def wrong_status
    config = load_config
    return [config['status']['wa'],config['status']['re'],config['status']['ce'],
      config['status']['tl'],config['status']['ie'],config['status']['ul'],config['status']['wo']]
  end

  def slow_language? language
    config = load_config
    config['slow_languages'].include?(language)
  end
end

